const mongoose = require( 'mongoose' );
const { host, opts } = require( '../config/mongodb' );

mongoose.connect( host, opts );
module.exports = mongoose;